/**
 * Copyright &copy; 2012-2016 <a href="https://www.kaaction.com">KAA</a> All rights reserved All rights reserved.
 */
package com.kaaction.modules.ka.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.kaaction.common.persistence.Page;
import com.kaaction.common.service.CrudService;
import com.kaaction.modules.ka.entity.KaSize;
import com.kaaction.modules.sys.entity.Dict;
import com.kaaction.modules.ka.dao.KaSizeDao;

/**
 * 尺码Service
 * @author huanghaiming
 * @version 2017-06-14
 */
@Service
@Transactional(readOnly = true)
public class KaSizeService extends CrudService<KaSizeDao, KaSize> {

	public KaSize get(String id) {
		return super.get(id);
	}
	
	public List<KaSize> findList(KaSize kaSize) {
		return super.findList(kaSize);
	}
	
	public Page<KaSize> findPage(Page<KaSize> page, KaSize kaSize) {
		return super.findPage(page, kaSize);
	}
	
	@Transactional(readOnly = false)
	public void save(KaSize kaSize) {
		super.save(kaSize);
	}
	
	@Transactional(readOnly = false)
	public void delete(KaSize kaSize) {
		super.delete(kaSize);
	}

	public List<Dict> selSize(List<String> listSize) {
		return super.dao.selSize(listSize);
	}

	public int getEqual(KaSize kaSize) {
		return super.dao.getEqual(kaSize);
	}
}